# Copyright (c) 2017 Presto Labs Pte. Ltd.
# Author: jaewon

from coin.exchange.bitfinex_v2.kr_rest.constants import symbol_list

group_symbol = {
    'a': ['EOSETH', 'LTCBTC', 'NEOETH', 'NEOUSD', 'OMGETH', 'XRPUSD', 'ZECBTC'],
    'b': ['BABETH', 'ETCUSD'],
    'c': ['BABBTC', 'BTCUSD', 'ETCBTC', 'NEOBTC', 'ZECUSD'],
    'd': ['BABUSD', 'BTCEUR', 'BTGBTC', 'EOSBTC', 'EOSUSD', 'ETHUSD', 'LTCUSD', 'OMGUSD'],
    'e': ['OMGBTC'],
    'f': ['BTGUSD', 'ETHBTC', 'XRPBTC'],
    'g': ['BATBTC', 'BATETH', 'BATUSD', 'BTCGBP', 'BTCJPY'],
    'h': ['EOSEUR', 'EOSGBP', 'EOSJPY', 'ETHEUR', 'ETHGBP', 'ETHJPY'],
    'i': ['MKRBTC', 'MKRETH', 'MKRUSD', 'NEOEUR', 'NEOGBP', 'NEOJPY'],
    'j': ['TRXBTC', 'TRXETH', 'TRXUSD'],
    'k': ['XLMBTC', 'XLMETH', 'XLMEUR', 'XLMGBP', 'XLMJPY', 'XLMUSD'],
    'm': ['BSVBTC', 'BSVUSD']
}

# Basic check
for group, symbols in group_symbol.items():
  for symbol in symbols:
    assert symbol in symbol_list, symbol
